package com.kymatrix.kycarbon.xsmd.kbpm.server.model.form.define;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.kymatrix.kycarbon.xsmd.kbpm.server.model.entity.ProcessDefineEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 流程定义
 * </p>
 *
 * @author mldong
 * @since 2023-09-26
 */
@Data
@ApiModel(value = "ProcessDefineVO对象", description = "流程定义VO")
public class PageQueryProcessDefineResp extends ProcessDefineEntity {
    @ApiModelProperty(value = "流程定义json对象")
    private JSONObject jsonObject;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("唯一编码")
    private String name;

    @ApiModelProperty("显示名称")
    private String displayName;

    @ApiModelProperty("流程类型")
    private String type;

    @ApiModelProperty("流程是否可用(1可用；0不可用)")
    private String state;

    @ApiModelProperty("流程模型定义")
    private byte[] content;
    
    
}
